<template>
  <section class="left-view__content">
    <Logo></Logo>

    <div class="left-view__content-deps">
      <div class="left-dep__item">
        <svg-icon icon-class='icon-address' class-name="icon"></svg-icon>
        北京市&nbsp;<span>丰台区</span>
      </div>
      <div class="left-dep__item">
        <svg-icon icon-class='icon-school' class-name="icon"></svg-icon>
        郑州轻工业大学
      </div>
      <div class="left-dep__item">
        <svg-icon icon-class='icon-certificate' class-name="icon"></svg-icon>
        英语专业四级
      </div>
    </div>

    <div class="left-view__content-tags">
      <div class="left-tag-item">Vue.js</div>
      <div class="left-tag-item">TypeScript</div>
      <div class="left-tag-item">Webpack</div>
      <div class="left-tag-item">Vite</div>
      <div class="left-tag-item">Responsive Design</div>
      <div class="left-tag-item">Git</div>
      <div class="left-tag-item">Teamwork</div>
      <div class="left-tag-item">Adaptable</div>
    </div>

    <div class="left-view__content-timeline">
      <TimeLine></TimeLine>
    </div>
  </section>
</template>

<script setup lang="ts">
import Logo from './logo.vue'
import TimeLine from './timeline.vue'
</script>


<style lang="scss" scoped>
.left-view__content {
  overflow-y: auto;
  width: 250px;
  display: flex;
  padding: 0 15px;
  position: sticky;
  top: 0;
  left: 0;
  align-items: center;
  flex-direction: column;

  .left-view__content-deps,
  .left-view__content-tags,
  .left-view__content-timeline {
    flex-shrink: 0;
    width: 100%;
    border-radius: 12px;
    margin-top: 16px;
    padding: 20px;
    backdrop-filter: blur(var(--card_filter));
    -webkit-backdrop-filter: blur(var(--card_filter));
    background: var(--item_bg_color);
  }

  .left-view__content-deps {
    display: flex;
    flex-direction: column;
    justify-content: center;
    .left-dep__item {
      display: flex;
      align-items: center;
      line-height: 20px;
      font-size: 16px;
      margin-bottom: 5px;
      overflow: hidden;

      .icon {
        font-size: 20px;
        fill:var(--fill);
        margin-right: 10px;
      }
    }
  }

  .left-view__content-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 14px;

    .left-tag-item {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 28px;
      margin: 0px 5px 5px 0;
      padding: 10px;
      font-size: 13px;
      border-radius: 10px;
      background: var(--left_tag_item);
    }
  }

  &::-webkit-scrollbar {
    display: none;
  }
}
</style>
